package com.tanhua.dubbo.api;

import com.tanhua.dubbo.api.db.QuestionnaireLevelApi;
import com.tanhua.dubbo.api.mapper.QuestionnaireLevelMapper;
import com.tanhua.model.db.QuestionnaireLevel;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @description:
 * @author: Jin L
 * @date: 2021/12/27 21:12
 */
@DubboService
public class QuestionnaireLevelApiImpl implements QuestionnaireLevelApi {

    @Autowired
    private QuestionnaireLevelMapper questionnaireLevelMapper;

    @Override
    public QuestionnaireLevel findById(Integer levelId) {
        return questionnaireLevelMapper.selectById(levelId);
    }
}
